﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using QxFramework.Utilities;
using QxFramework.Core;
using System;


public class messageSender : MonoBehaviour
{
    public void Start()
    {
        App.Common._Data.Instance.SetTableAgent();
        GameMgr.Instance.InitModules();

    }

    // Update is called once per frame
    void Update()
    {
        if(Input.GetKeyDown(KeyCode.Mouse0))
        {
            MessageManager.Instance.Get<TestType>().DispatchMessage(TestType.Click, this);
            Debug.Log("CLICK_part");
        }
        
    }
}
